package main

import "fmt"

func main() {
	//fmt.Println("Hello, 世界")
	//fmt.Println("My favorite number is", rand.Intn(10))
	//fmt.Printf("Now you have %.3f problems.", math.Sqrt(7))
	//
	////fmt.Println(math.Pi)
	//
	//x := 5
	//y := 6
	//
	//_ = fmt.Sprintf("x + y = %i", add(x, y))
	//
	//fmt.Println(add(42, 13))

	fmt.Println(add(3283, 323))

	fmt.Println(swap("abc", "jfk"))

	fmt.Println(split(49))

	var i int
	fmt.Println(i, c, python, java)

	a, b := "1", 3
	fmt.Println(a, b)
}

func add(x, y int) int {
	return x + y
}

func swap(a, b string) (string, string) {
	return b, a
}

func split(sum int) (x, y int) {
	x = sum * 4 / 9
	y = sum - x
	return
}

var c, python, java bool
